/**
 * ump注解,动态处理ump配置
 * Copyright (C), 2018 store
 * Encoding: UTF-8
 * Date: 19-9-17 上午9:56
 * History:
 */
package com.swak.frame.ump;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.core.annotation.AliasFor;

@Documented
@Target({java.lang.annotation.ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface UmpTag {

    @AliasFor("value")
    String tag() default "service";

    @AliasFor("tag")
    String value() default "service";

    boolean enableHeartbeat() default false;

    boolean enableTP() default true;
}
